package com.yes_iot.entity;

import lombok.Data;

import javax.persistence.*;
import java.util.UUID;

@Entity
@Data
@Table(name = "visual_display")
public class VisualDisplay {
    @Id
    @Column(name = "id", columnDefinition = "uuid")
    private UUID id;
    @Column(name = "name")
    private String name;
    @Column(name = "keycode")
    private String keycode;
    @Column(name = "openflag")
    private Integer openflag;
    @Column(name = "password")
    private String password;
    @Column(name = "visitorname")
    private String visitorname;
    @Column(name = "parent_id", columnDefinition = "uuid")
    private UUID parentId;//父类id
    @Column(name = "scene_id", columnDefinition = "uuid")
    private UUID sceneId;
    @Column(name = "node_id", columnDefinition = "uuid")
    private UUID nodeId;
    @Column(name = "description")
    private String description;
    @Column(name = "content")
    private String content;
    @Column(name = "config")
    private String config;
    @Column(name = "seq")
    private Integer seq;
    @Column(name = "remark")
    private String remark;
    @Column(name = "dis_type")
    private Integer disType;//0：电脑 1手机
    @Column(name = "model")
    private String model;
    @Column(name = "is_mould")
    private Boolean isMould;
    @Column(name = "dev_code")
    private String devCode;
    @Column(name = "created_time")
    private Long createdTime;
    @Column(name = "farm_id")
    private Integer farmId;
    @Column(name = "green_house_id")
    private Integer greenHouseId;

    @Column(name = "dev_model_id")
    private String devModelId;
    @Column(name = "login_text")
    private String loginText;
    @Column(name = "login_logo")
    private String loginLogo;
}

